package com.turman.glsample.base

import android.content.Context
import android.opengl.GLSurfaceView
import android.util.AttributeSet
import com.turman.glsample.trangle_fan.TrangleFanRenderer

class BaseGLSurfaceView
@JvmOverloads constructor(
    context: Context, attrs: AttributeSet? = null
): GLSurfaceView(context, attrs) {

    init {
        setEGLContextClientVersion(2)
//        setRenderer(SampleRenderer())
        setRenderer(TrangleFanRenderer())
    }
}
